package com.ny.zmb.openapi.ysutil.from.BizReqJsonCollege;

import com.ny.zmb.openapi.ysutil.annotation.Length;
import com.ny.zmb.openapi.ysutil.annotation.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author ChenZhiZheng
 * @date 20241109
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class YsRegisterContactInformation {
    /**
     * 联系人姓名（业务经办人姓名）
     */
    @NotBlank(message = "联系人姓名" + "不能为空")
    @Length(min = 1, max = 50, message = "联系人姓名" + "长度错误")
    private String personName;
    /**
     * 联系人证件号（业务经办人证件号）
     */
    @NotBlank(message = "联系人证件号" + "不能为空")
    @Length(min = 1, max = 50, message = "联系人证件号" + "长度错误")
    private String personId;
    /**
     * 联系人手机号（业务经办联系手机号）
     */
    @NotBlank(message = "联系人手机号" + "不能为空")
    @Length(min = 1, max = 11, message = "联系人手机号" + "长度错误")
    private String personPhone;
    /**
     * 联系人邮箱（业务经办联系邮箱）
     */
    @NotBlank(message = "联系人邮箱" + "不能为空")
    @Length(min = 1, max = 50, message = "联系人邮箱" + "长度错误")
    private String personEmail;
    /**
     * 联系人地址
     */
    @NotBlank(message = "联系人地址" + "不能为空")
    @Length(min = 1, max = 200, message = "联系人地址" + "长度错误")
    private String personAddress;
}
